#define  _CRT_SECURE_NO_WARNINGS 1
#define   AX(n) (n)~(n)
#include<stdio.h>
int main()
{+++++++++++++++++++++++++++
	int n;
	scanf("%d", n);
	printf("%d", AX(n));
	return 0;
}





+++++++++++++++++









#if 0
struct s
{
	char si;
	int b;
};


#define OFFSETOF(a,b,c)(int)&((a*)0->b))
#include<stdio.h>
int main()
{
	printf("%d", OFFSETOF(struct s, b));
	return 0;
}















#define GERIC_MAX(type)\
type type##_MAX(type x,type y)\
{                             \
     return (x > y ? x : y);  \
}
GERIC_MAX(int);
GERIC_MAX(float);



#include<stdio.h>


int main()
{
	int m = int_MAX(2, 3);
	printf("%d\n", m);
	float fm = int_MAX(2, 3);
	printf("%f", fm);
	return 0;
}



















#define A 10
#define PRINT(n) printf("the value of "#n" is %d",n);
int main()
{
	PRINT(10);
	return 0;
}






int main()
{
	printf("file:%s line %d\n", __FILE__, __LINE__);
	return 0;
}
#endif